const API_CONFIG = [
    {
        name: "all",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        params: {},
        path: "/management/dimensionality/page",
        desc: "获取资源维度管理-全部"
    },
    {
        name: "other",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        headers: {
            "Content-Type": "application/json"
        },
        queryString: false,
        params: {},
        path: "/management/dimensionality/pageByDeptOrLabel",
        desc: "获取资源维度管理-部门/标签"
    },
    {
        name: "delete",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        headers: {
            "Content-Type": "application/json"
        },
        queryString: false,
        params: {},
        path: "/management/dimensionality/:id/delete",
        desc: "删除资源维度"
    },
    {
        name: "deleteUsers",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        headers: {
            "Content-Type": "application/json"
        },
        queryString: false,
        params: {},
        path: "/management/dimensionality/:id/deleteUserDimensionality",
        desc: "删除用户添加的资源维度"
    },
    {
        name: "checkDeleteOptions",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        headers: {
            "Content-Type": "application/json"
        },
        queryString: false,
        params: {},
        path: "/management/option/:id/canDelete",
        desc: "判断选项是否可以删除"
    },
    {
        name: "addList",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        headers: {
            "Content-Type": "application/json"
        },
        queryString: false,
        params: {},
        path: "/management/dimensionality/userDimensionalityPage",
        desc: "获取资源维度管理用户添加资源列表"
    },
    {
        name: "add",
        setCommonParam: true,
        namespace: "resource",
        method: "post",
        headers: {
            "Content-Type": "application/json"
        },
        queryString: false,
        params: {},
        path: "/management/dimensionality/save\n",
        desc: "资源维度添加"
    },
    {
        name: "update",
        setCommonParam: true,
        namespace: "resource",
        method: "post",
        headers: {
            "Content-Type": "application/json"
        },
        queryString: false,
        params: {},
        path: "/management/dimensionality/update",
        desc: "资源维度编辑"
    },
    {
        name: "getRowData",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        headers: {
            "Content-Type": "application/json"
        },
        queryString: false,
        params: {},
        path: "/management/dimensionality/:id/info",
        desc: "资源维度获取单条数据"
    },
    {
        name: "department/add",
        setCommonParam: true,
        namespace: "resource",
        method: "post",
        headers: {
            "Content-Type": "application/json"
        },
        params: {},
        path: "/management/dimensionality/addToDept",
        desc: "部门添加资源维度"
    },
    {
        name: "category/add",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        headers: {
            "Content-Type": "application/json"
        },
        params: {},
        path: "/management/dimensionality/saveByDimensionality",
        desc: "标签添加资源维度"
    },
    {
        name: "category/tableList",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        headers: {
            "Content-Type": "application/json"
        },
        params: {},
        path: "/management/label/page",
        desc: "标签管理列表"
    },
    {
        name: "template/delete",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        headers: {
            "Content-Type": "application/json"
        },
        params: {},
        path: "/management/template/delete/:id",
        desc: "删除模版"
    },
    {
        name: "category/delete",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        headers: {
            "Content-Type": "application/json"
        },
        params: {},
        path: "/management/label/:id/delete",
        desc: "删除标签"
    },
    {
        name: "category/addName",
        setCommonParam: true,
        namespace: "resource",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/label/save",
        desc: "添加标签"
    },
    {
        name: "related/addName",
        setCommonParam: true,
        namespace: "resource",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/label/saveByDimensionalityOrTemplate",
        desc: "添加关联资源维度"
    },
    {
        name: "userCustom",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        params: {},
        path: "/management/dimensionality/:id/userDimensionalityInfo",
        desc: "查询用户自定义选项"
    },
    {
        name: "saveCustom",
        setCommonParam: true,
        namespace: "resource",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/dimensionality/mergeUserDimensionality/:id",
        desc: "保存属性匹配"
    },
    {
        name: "category/update",
        setCommonParam: true,
        namespace: "resource",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/label/update",
        desc: "修改标签"
    },
    {
        name: "category/delete/template",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        params: {},
        path: "/management/label/deleteRelation",
        desc: "删除标签模板和资源的关联关系"
    },
    {
        name: "department/delete/template",
        setCommonParam: true,
        namespace: "resource",
        method: "get",
        params: {},
        path: "/management/dimensionality/deleteRelation",
        desc: "删除部门和资源的关联关系"
    }
];
export default API_CONFIG;
